package com.example.combwyaq.mvp.di;




import com.example.combwyaq.mvp.contract.UserDetailsContract;
import com.example.combwyaq.mvp.model.UserDetailsModel;

import dagger.Module;
import dagger.Provides;

@Module
public class UserDetailsModules {

    private UserDetailsContract.IUserDetailsView view;
    public UserDetailsModules(UserDetailsContract.IUserDetailsView view){
        this.view = view;
    }

    @Provides
    public UserDetailsContract.IUserDetailsView providerView(){
        return view;
    }

    @Provides
    public UserDetailsContract.IUserDetailsModel providerModel(UserDetailsModel model){
        return model;
    }
}
